<?php
/**
* @file UserGroup.php
* Copyright (c) Friends Group. All rights reserved.
* $Id$
*
*/

require_once(realpath(dirname(__FILE__)) . '/../classes/BaseObject.php');

class UserGroup extends BaseObject 
{

    /**
     * @AttributeType int
     */
    protected $ID;

    /**
     * @AttributeType String
     * Tên nhóm
     */
    protected $groupName;

    /**
     * @AttributeType int
     * Nhóm của User nào
     */
    protected $accountID;

    public function __construct($accountID = "", $groupName = "")
    {
        $this -> accountID = $accountID;
        $this -> groupName = $groupName;
    }
    
    /**
     * @ParamType iD int
     */
    public function setID($ID) 
    {
        $this->ID = $ID;
    }

    /**
     * @ReturnType int
     */
    public function getID() 
    {
        return $this->ID;
    }

    /**
     * @ParamType groupName String
     */
    public function setGroupName($groupName) 
    {
        $this->groupName = $groupName;
    }

    /**
     * @ReturnType String
     */
    public function getGroupName() 
    {
        return $this->groupName;
    }

    /**
     * @ParamType accountID int
     */
    public function setAccountID($accountID) 
    {
        $this->accountID = $accountID;
    }

    /**
     * @ReturnType int
     */
    public function getAccountID() 
    {
        return $this->accountID;
    }
}
?>